<script>
$(&#39;#searchbutt&#39;).click(function(){
  $(&#39;#searchdial&#39;).parent().css({position:&quot;fixed&quot;}).end().dialog(&#39;open&#39;)
})
</script>
<script>
$(function() {
    $( &quot;#sb&quot; ).button({
      icons: {
        primary: &quot;ui-icon-search&quot;
      },
      text: false
    });
});
</script>